package com.icez.base_compose_framework

import androidx.compose.material3.adaptive.currentWindowAdaptiveInfo
import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.window.layout.DisplayFeature

@Composable
fun App(displayFeatures:List<DisplayFeature>,appState: AppState = RememberAppState()){
    val adaptiveInfo = currentWindowAdaptiveInfo()
    if (appState.isOnline){
        NavHost(navController = appState.navController, startDestination = Screen.Home.route){
            composable(Screen.Home.route){
                backStackEntry->
//                MainScreen()
            }
        }
    }
}